package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.Coupon;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: chen
 * @Description: 优惠券
 * @Date: 创建于 14:09 2020/1/4
 */
public interface CouponService {
    /**
     * 通过主键id获取
     */
    public Coupon getByCouponId(@Param(value = "couponId") Integer couponId);

    Coupon getByName(String name, Integer accountId);
}
